import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const forms: AppRouteModule = {
  path: '/forms',
  name: 'forms',
  component: LAYOUT,
  redirect: '/forms/index',
  meta: {
    orderNo: 10,
    hideChildrenInMenu: true,
    // icon: 'whh:paintroll',
    title: t('routes.youtuan.forms'),
    // title: "pdf",
  },
  children: [
    {
      path: 'index',
      name: 'formsPage',
      component: () => import('/@/views/pages/forms/index.vue'),
      meta: {
        // title: "pdf",
        title: t('routes.youtuan.forms'),
        // icon: 'whh:paintroll',
        // hideMenu: true,
      },
    },
  ],
};

export default forms;
